package org.third.schema.json;

import javax.json.Json;
import javax.json.stream.JsonParser;

import java.io.PrintStream;

public class JsonTest {

    public static void main(String[] args) {
        System.out.format("test %d", 1, "abc").println();;
        
//        new PrintStream(JsonTest.class.getResourceAsStream("organizations.xml"));
        
        JsonParser json = Json.createParser(JsonTest.class.getResourceAsStream("./organizations.json"));
        while(json.hasNext()){
            System.out.println(json.next());
        }
        

    }

}
